package com.kayt.cyberBar.statistics.entity.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * BStatisticsTypeSalesUser entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "b_statistics_type_sales_user")
public class BStatisticsTypeSalesUser implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -2577452256488546701L;
	private Integer id;
	private String typeName;
	private String typeCode;
	private String cyberCode;
	private String cyberName;
	private String level;
	private String parentTypeCode;
	private String userName;
	private String userCode;
	private String userPic;
	private Integer itemCount;
	private Double itemSales;
	private String createTime;
	private String statisticsTime;

	// Constructors

	/** default constructor */
	public BStatisticsTypeSalesUser() {
	}

	/** full constructor */
	public BStatisticsTypeSalesUser(String typeName, String typeCode,
			String cyberCode, String cyberName, String userName,
			String userCode, String userPic, Integer itemCount,
			Double itemSales, String createTime, String statisticsTime) {
		this.typeName = typeName;
		this.typeCode = typeCode;
		this.cyberCode = cyberCode;
		this.cyberName = cyberName;
		this.userName = userName;
		this.userCode = userCode;
		this.userPic = userPic;
		this.itemCount = itemCount;
		this.itemSales = itemSales;
		this.createTime = createTime;
		this.statisticsTime = statisticsTime;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "level")
	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}
	@Column(name = "parent_type_code")
	public String getParentTypeCode() {
		return parentTypeCode;
	}

	public void setParentTypeCode(String parentTypeCode) {
		this.parentTypeCode = parentTypeCode;
	}
	
	@Column(name = "type_name")
	public String getTypeName() {
		return this.typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	@Column(name = "type_code")
	public String getTypeCode() {
		return this.typeCode;
	}

	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}

	@Column(name = "cyber_code")
	public String getCyberCode() {
		return this.cyberCode;
	}

	public void setCyberCode(String cyberCode) {
		this.cyberCode = cyberCode;
	}

	@Column(name = "cyber_name")
	public String getCyberName() {
		return this.cyberName;
	}

	public void setCyberName(String cyberName) {
		this.cyberName = cyberName;
	}

	@Column(name = "user_name")
	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "user_code")
	public String getUserCode() {
		return this.userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	@Column(name = "user_pic")
	public String getUserPic() {
		return this.userPic;
	}

	public void setUserPic(String userPic) {
		this.userPic = userPic;
	}

	@Column(name = "item_count")
	public Integer getItemCount() {
		return this.itemCount;
	}

	public void setItemCount(Integer itemCount) {
		this.itemCount = itemCount;
	}

	@Column(name = "item_sales")
	public Double getItemSales() {
		return this.itemSales;
	}

	public void setItemSales(Double itemSales) {
		this.itemSales = itemSales;
	}

	@Column(name = "create_time")
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Column(name = "statistics_time")
	public String getStatisticsTime() {
		return this.statisticsTime;
	}

	public void setStatisticsTime(String statisticsTime) {
		this.statisticsTime = statisticsTime;
	}

}